import { setHeader, getStorage } from '@wowon/utils';
import { STORAGE_NAMES } from '@/common/constant';

const withHeader = setHeader(() => ({
  accept: 'application/json;charset=UTF-8',
  authorization: getStorage(STORAGE_NAMES.token),
}));

export default withHeader;
